<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles"%>
<t:insertDefinition name="main">
	<t:putAttribute name="title" type="string">Create User</t:putAttribute>
	<t:putAttribute name="central" type="string">
        <form:form action="form.do" commandName="user">
            Username: <form:input path="username"/><form:errors cssClass="error" path="username"/><br/>
            Fullname: <form:input path="fullName"/><form:errors path="fullName"/><br/>
            E-mail : <form:input path="email"/><form:errors path="email"/><br/>
            <input type="submit" value="Save"/>
        </form:form>
    </t:putAttribute>
</t:insertDefinition>